configure: test have_docbook_style != yes, not have_docbook_dtd
authorAlexander Larsson <alexl@redhat.com>
Wed, 17 Jun 2015 15:35:18 +0000 (17:35 +0200)
committerAlexander Larsson <alexl@redhat.com>
Wed, 17 Jun 2015 15:35:32 +0000 (17:35 +0200)
configure.ac

index df2b223d7ca910daf9e72096000b1131e6a44d03..b99af91658bf9ca72fc83944b753d708139f32d1 100644 (file)
@@ -1738,7 +1738,7 @@ if test "$enable_man" != no; then
   dnl check for DocBook XSL stylesheets in the local catalog
   JH_CHECK_XML_CATALOG([http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl],
      [DocBook XSL Stylesheets], [have_docbook_style=yes],[have_docbook_style=no])
-  if test "$have_docbook_dtd" != yes; then
+  if test "$have_docbook_style" != yes; then
     if test "$enable_man" = yes ; then
       AC_MSG_ERROR([DocBook XSL Stylesheets are required for --enable-man])
     fi